package polymorphic;

/**
 * @classname:BWM
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/29 17:20
 * @version: 0.1
 * @since:1.8
 */
public class BWM extends Car {
    public BWM() {
    }

    public BWM(String name, String color, String wheel) {
        super(name, color, wheel);
    }

    @Override
    public void run() {
        System.out.println(this.getColor()+this.getName()+"在路上奔跑");
    }
}
